package com.cn.boot.student.service.student;

import com.cn.boot.student.entity.WordLikeRelationEntity;
import com.cn.boot.student.util.CommonResult;

/**
 * 单词点赞服务接口层
 */
public interface IWordLikeService {
    /**
     * 单词点赞
     * @param wordLikeRelationEntity
     * @return
     */
    CommonResult like(WordLikeRelationEntity wordLikeRelationEntity);

    /***
     * 取消点赞
     * @param wordLikeRelationEntity
     * @return
     */
    CommonResult delLike(WordLikeRelationEntity wordLikeRelationEntity);

    /**
     * 查询用户是否已经点赞
     * @param wordLikeRelationEntity
     * @return
     */
//    CommonResult isLike(WordLikeRelationEntity wordLikeRelationEntity);
}
